<?php
/**
 * Created by PhpStorm.
 * User: 汪凤杰
 * Date: 2017/11/8
 * Time: 16:16
 */

namespace JSSDK\Config;


final class URLConfig
{
    const URL_HOST = "uc.96189.com/";

    const URL_AUTHORIZE = "v1/oauth2/authorize";

    const URL_ACCESS_TOKEN = "v1/oauth2/access_token";

    const URL_USER_INFO = "user/info";

    public static function url_authorize(){
        return self::URL_HOST . self::URL_AUTHORIZE ;
    }

    public static function url_access_token(){
        return self::URL_HOST . self::URL_ACCESS_TOKEN ;
    }

    public static function url_user_info(){
        return self::URL_HOST . self::URL_USER_INFO ;
    }
}